Optimal. Leaf size=13 \[ -\frac{\log \left (a+\frac{b}{x}\right )}{b} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0157886, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ -\frac{\log \left (a+\frac{b}{x}\right )}{b} \]
Antiderivative was successfully verified.
[In] Int[1/((a + b/x)*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 2.22634, size = 8, normalized size = 0.62 \[ - \frac{\log{\left (a + \frac{b}{x} \right )}}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a+b/x)/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00620895, size = 18, normalized size = 1.38 \[ \frac{\log (x)}{b}-\frac{\log (a x+b)}{b} \]
Antiderivative was successfully verified.
[In] Integrate[1/((a + b/x)*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.007, size = 19, normalized size = 1.5 \[{\frac{\ln \left ( x \right ) }{b}}-{\frac{\ln \left ( ax+b \right ) }{b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a+b/x)/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.44134, size = 18, normalized size = 1.38 \[ -\frac{\log \left (a + \frac{b}{x}\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x)*x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.227326, size = 22, normalized size = 1.69 \[ -\frac{\log \left (a x + b\right ) - \log \left (x\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x)*x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.32607, size = 10, normalized size = 0.77 \[ \frac{\log{\left (x \right )} - \log{\left (x + \frac{b}{a} \right )}}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a+b/x)/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.22333, size = 19, normalized size = 1.46 \[ -\frac{{\rm ln}\left ({\left | a + \frac{b}{x} \right |}\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x)*x^2),x, algorithm="giac")
[Out]